Skip to content

Move completed maintenance into the timeline#334

Merged
jbrooksuk merged 3 commits into
mainfrom
fix-maintenance-updates-link-1
Jun 24, 2026
Merged

Move completed maintenance into the timeline#334
jbrooksuk merged 3 commits into
mainfrom
fix-maintenance-updates-link-1

Conversation

@jbrooksuk

@jbrooksuk jbrooksuk commented Mar 5, 2026

Copy link
Copy Markdown
Member

What

Completed maintenance now appears in the incident timeline rather than the planned-maintenance block.

  • The maintenance block only shows incomplete (upcoming / in-progress) schedules again.
  • Completed maintenance is surfaced in the timeline, grouped by its completion date, alongside incidents — preserving access to past maintenance and its updates.
  • The timeline's empty-day backfill and only_disrupted_days filtering now account for both incidents and schedules.
  • Seeder gains a past (completed ~24h ago) "Database Server Upgrade" schedule so the behaviour is visible locally.

Why

Previously the maintenance block listed every schedule including completed ones, cluttering the section meant for what's still relevant. Moving completed maintenance to the timeline keeps the planned-maintenance section focused while still exposing the history.

Tests

Added StatusPageTest coverage asserting upcoming/in-progress stay in the maintenance block while completed maintenance is excluded from it and rendered in the timeline.

🤖 Generated with Claude Code

@jbrooksuk jbrooksuk force-pushed the fix-maintenance-updates-link-1 branch from 5e76790 to 025ff22 Compare June 17, 2026 12:30
jbrooksuk and others added 2 commits June 23, 2026 13:48
Previously, the status page only showed incomplete schedules, which meant
users couldn't access updates for completed maintenance events.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The maintenance block now only shows incomplete (upcoming/in-progress)
schedules, while completed maintenance is surfaced in the incident
timeline grouped by its completion date. This keeps the planned
maintenance section focused on what's still relevant while preserving
access to past maintenance and its updates.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jbrooksuk jbrooksuk force-pushed the fix-maintenance-updates-link-1 branch from 025ff22 to bc80d8f Compare June 23, 2026 13:06
@jbrooksuk jbrooksuk changed the title Fix maintenance schedules to show completed schedule updates Move completed maintenance into the timeline Jun 23, 2026
Type ScheduleBuilder against the Schedule model and convert grouped
incident/maintenance results to base collections so the return types
match their declarations.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jbrooksuk jbrooksuk merged commit b531b0e into main Jun 24, 2026
34 checks passed
@jbrooksuk jbrooksuk deleted the fix-maintenance-updates-link-1 branch June 24, 2026 12:36
jbrooksuk added a commit to steffjenl/core that referenced this pull request Jun 25, 2026
* origin/main:
  Support Laravel 12 (cachethq#245)
  Advanced Component Group Ordering (cachethq#212)
  Move completed maintenance into the timeline (cachethq#334)
  Fix code styling
  Component Monitoring (cachethq#211)
  Fix failing "Build Assets" GitHub Actions job (cachethq#362)
  Fix missing login route redirects
  Fix formatting of bad query params
  Show affected components on the incident page (cachethq#363)
  Compile Assets
  Add Psalm taint (security) analysis (cachethq#364)
  Fix PHPDoc typo from IncidentTemplate.php (cachethq#365)
  Fix code styling
  Allow setting component group collapsed state via API (cachethq#356)
  Bump vite, @tailwindcss/vite and laravel-vite-plugin (cachethq#361)
  Ability to GET each component's group nested under its relationships, when querying schedules or incidents via the API (cachethq#357)
  Add helper text to Cachet settings forms (cachethq#353)
  Fix status page incident count to exclude resolved incidents (cachethq#355)
  Fix schedule API update silently dropping completed_at (cachethq#359)
  Compile Assets

# Conflicts:
#	composer.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant